from django.db import models


# Create your models here.
class User(models.Model):
    pName = models.CharField(max_length=10, verbose_name="用户名", db_index=True, null=False)
    sPassword = models.CharField(max_length=16, verbose_name="密码", null=False)
    pIsActive = models.BooleanField(default=False, verbose_name="是否活跃")

    class Meta:
        db_table = 'pdf_user'
